﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;


namespace ProntuarioEletronico
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btEntrarLogin_Click(object sender, EventArgs e)
        {
            if(txtUsuarioLogin.Text == "admin" && txtSenhaLogin.Text == "123456")
            {
                Response.Write("Login Efetuado com Sucesso!");
                Response.Redirect("Home.aspx",true);
            }
            else
            {
                Response.Write("Usuário e/ou senha incorreto!");
            }
        }
    }
}